package Common 
{
	/**
	 * ...
	 * @author Yevgeniy Logachev
	 */
	import Box2D.Collision.b2ContactPoint;
	import Box2D.Dynamics.b2ContactListener;
	import Box2D.Dynamics.Contacts.b2Contact;

	public class ContactListener extends b2ContactListener 
	{
		private var m_beginContactHandler:Function;
		
		public function ContactListener(handler:Function)
		{
			m_beginContactHandler = handler;
		}
		
		public override function BeginContact(point:b2Contact):void 
		{
			m_beginContactHandler(point);
			
		}
	}

}